package com.game.view.component
{
	import com.dusk.util.ResUtil;
	
	public class FloorBg extends ComponentBase
	{
		
		public function FloorBg(sourceName:String)
		{
			super();
			initSource(sourceName);
		}
		
		private function initSource(name:String):void
		{
			addChild(ResUtil.getImageBitmap(name));
		}
		
		public function destroy():void
		{
			removeFromParent();
		}
	}
}
